import web
d=[{"id":90,"name":'xianv'},{"id":98,"name":'liang'}]
urls = ("/hello", "hello","/login", "login")
app = web.application(urls, globals())
render = web.template.render('templates/',cache=False)
class hello:
    def GET(self):
        return render.index(d)
class login:
    def GET(self):
        return render.login(d)
if __name__ == "__main__":
    1app.run()
